//
//  UIView+WNFrame.h
//  iOSOCProjectDirectory
//
//  Created by BHmac on 2017/6/9.
//  Copyright © 2017年 XieXuan. All rights reserved.
//

#import <UIKit/UIKit.h>

CGFloat pointAdapt4(CGFloat point);
CGFloat pointAdapt6(CGFloat point);
CGFloat pointAdaptHeight6(CGFloat point);

@interface UIView (WNFrame)

@property (nonatomic, assign) CGFloat x;
@property (nonatomic, assign) CGFloat y;
@property (nonatomic, assign) CGFloat width;
@property (nonatomic, assign) CGFloat height;

@property (nonatomic, assign) CGPoint origin;
@property (nonatomic, assign) CGSize  size;


+ (instancetype)dfzy_viewFromXib;

- (BOOL)dfzy_intersectsWithView:(UIView *)view;

@end
